﻿using System;

namespace personalplaner.business.stamm
{
	public class Pensum : ItemBase
	{
		private int _prsid;
		private DateTime _von;
		private DateTime _bis;
        private short _prozent;
        private byte _status;
		private string _statusText;

		public int PrsID
		{
			get { return _prsid; }
			set
			{
				_prsid = value;
				RaisePropertyChanged("PrsID");
			}
		}

		public DateTime Von
		{
			get { return _von; }
			set
			{
				_von = value;
				RaisePropertyChanged("Von");
			}
		}

		public DateTime Bis
		{
			get { return _bis; }
			set
			{
				_bis = value;
				RaisePropertyChanged("Bis");
			}
		}

		public short Prozent
		{
			get { return _prozent; }
			set
			{
				_prozent = value;
				RaisePropertyChanged("Prozent");
			}
		}

		public byte Status
		{
			get { return _status; }
			set
			{
				_status = value;
				RaisePropertyChanged("Status");
			}
		}

		public string StatusText
		{
			get { return _statusText; }
			set
			{
				_statusText = value;
				RaisePropertyChanged("StatusText");
			}
		}
	}
}
